part of 'theme.dart';

class PaymentMethodFragmentTextTheme {
  const PaymentMethodFragmentTextTheme._internal({
    required this.title,
    required this.tileTitle,
    required this.tileExpirationTimeLabel,
    required this.tileFailureMessage,
  });

  factory PaymentMethodFragmentTextTheme.dark() {
    return PaymentMethodFragmentTextTheme._internal(
      title: PaymentMethodFragmentStyles.titleTextStyle.copyWith(
        color: CoreStyles.defaultLightTextColor,
      ),
      tileTitle: PaymentMethodFragmentStyles.tileTitleTextStyle.copyWith(
        color: CoreStyles.defaultLightTextColor,
      ),
      tileExpirationTimeLabel: PaymentMethodFragmentStyles.tileExpirationTimeLabelTextStyle.copyWith(
        color: CoreStyles.grey3,
      ),
      tileFailureMessage: PaymentMethodFragmentStyles.tileFailureMessageTextStyle.copyWith(
        color: CoreStyles.defaultLightTextColor,
      ),
    );
  }

  final TextStyle title;
  final TextStyle tileTitle;
  final TextStyle tileExpirationTimeLabel;
  final TextStyle tileFailureMessage;
}
